import { HTTP } from "../../utils/http.js";

class WorkModel extends HTTP {
	// 获取用户机构
	getUserOrgListApi(data) {
		return this.request({
			url: "/wx/staff/orgList",
			data: data,
		})
	}

	// 获取work下菜单权限
	getTreeByRouteNameApi(data) {
		return this.request({
			url: "/wx/menu/getTreeByRouteName",
			data: data,
		})
	}

	getContApi(data) {
		return this.request({
			url: "/wx/my/getCont",
			data: data,
			method: "GET"
		})
	}
}


export { WorkModel }